From: Florian Müllner Date: Fri, 29 May 2026 15:30:32 +0000 (+0200) Subject: padOsd: Fix menu animations X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~9^2^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a9523055bade7e7bf551daedbf8df2701baf77ca;p=gnome-shell.git padOsd: Fix menu animations Like outlined in the previous commit, `true` is interpreted as `PopupAnimation.SLIDE`, while we want the full animation with both slide and fade here. Part-of: --- diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 713aab349..04a160cb3 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -12,6 +12,7 @@ import St from 'gi://St'; import * as Signals from '../misc/signals.js'; import * as Main from './main.js'; +import {PopupAnimation} from './boxpointer.js'; import * as PopupMenu from './popupMenu.js'; import * as Layout from './layout.js'; @@ -49,11 +50,11 @@ const PadChooser = GObject.registerClass({ vfunc_clicked() { if (this.get_checked()) { if (this._padChooserMenu != null) - this._padChooserMenu.open(true); + this._padChooserMenu.open(PopupAnimation.FULL); else this.set_checked(false); } else { - this._padChooserMenu.close(true); + this._padChooserMenu.close(PopupAnimation.FULL); } } @@ -181,7 +182,7 @@ const ActionComboBox = GObject.registerClass({ } popup() { - this._editMenu.open(true); + this._editMenu.open(PopupAnimation.FULL); } popdown() {